package com.ny.demo;

public class dog {
    String name;
      int age;
      String yanshe;
    public  void Dog(){
        this.name="小黑";
        this.yanshe="黑色";
        this.age=5;

    }
    public String getName(){
        return name;
    }
    public int getAgege(){
        return age;
    }
    public String getYanshe(){
        return yanshe;
    }
    public void shengying(){
        System.out.println(name+":汪");
    }
}
